package com.work.work.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "创建任务请求")
public class CreateTaskRequest {
    @Schema(description = "任务名称", required = true)
    private String taskName;

    @Schema(description = "项目ID", required = true)
    private Integer projectId;

    @Schema(description = "优先级", required = true)
    private Integer priority;

    @Schema(description = "负责人")
    private String assignee;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "任务描述")
    private String description;

}